<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <?php include "inc/head.php"; ?>
</head>

<body>
  <?php
  include "inc/header.php";
  include "inc/nav.php";
  include "inc/banner.php";
  ?>

  <?php include "inc/breadcrumb.php"; ?>

  <div class="container bg-white block-shadow">
    <div class="row my-2">
      <div class="col-sm-3 hidden-xs">
        <?php include "inc/side.php"; ?>
      </div>

        <div class="col-xs-12 col-sm-9">

          <dl class="title">
            <dt><?php echo $channel['c_name']; ?></dt>
          </dl>

          <div class="list-group">
            <?php
            if (false === $list_pager) {
              echo '<a href="javascript:void();">N/A</a>';
            }
            foreach ($list_pager as $val) {
              echo '<a class="list-group-item" href="' . d_url($val['id'], $val['d_link']) . '">' . $val['d_name'] . '</a>';
            }
            ?>
          </div>

          <nav class="text-center">
            <ul class="pagination">
              <?php echo $pager->show(); ?>
            </ul>
          </nav>
        </div>

    </div>
  </div>

  <?php
  include "inc/footer.php";
  include "inc/js.php";

  include "inc/code.php";
  ?>
</body>

</html>
